import java.util.Random;

public class Bot extends Player {
	

	Random nr;
	
	
	
	Bot(){
		
		nr = new Random();
	}

	

	@Override
	void cardChange(HandDeck handDeck, Deck deck) {
		
		int x = nr.nextInt(5);
		for (int i=0;i<x;i++){
			handDeck.handDeck.remove(0);
			handDeck.handDeck.add(deck.Deck.get(deck.index));
			deck.index++;
			
		}	
	
		handDeck.Sorting();
	}




	
	
  
}
